home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 131
/
XENIATGM131.iso
/
Shareware
/
openOffice.org 641
/
Windows
/
f_0047
/
sbasic.jar
/
text
/
sbasic
/
common
/
03120402.xml
< prev
next >
Wrap
Extensible Markup Language
|
2001-09-07
|
1KB
|
27 lines
<?xml version="1.0" encoding="utf-8"?>
<html><head><title>Len Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03120402"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
p.P1{
}
span.T1{
font-weight:bold;}
</style></head><body>
<help:to-be-embedded Eid="len" xmlns:help="http://openoffice.org/2000/help">
<p class="Head1"><help:link Id="66553">Len Function [Runtime]</help:link></p>
<p class="Paragraph">Returns the number of characters in a string, or the number of bytes required to store a variable.</p>
</help:to-be-embedded>
<p class="Paragraph"><span class="T1">Syntax</span>:</p>
<p class="Paragraph">Len (Text As String) <help:key-word value="Len" tag="kw66553_1" xmlns:help="http://openoffice.org/2000/help"/></p>
<p class="Paragraph"><span class="T1">Return value</span>:</p>
<p class="Paragraph">Long</p>
<p class="Paragraph"><span class="T1">Parameter</span>:</p>
<p class="Paragraph">Text: Any string expression or a variable of another type.</p>
<p class="Paragraph"><span class="T1">Example:</span></p>
<p class="PropText">Sub ExampleLen</p>
<p class="PropText">Dim sText as String</p>
<p class="PropText">sText = "Las Vegas"</p>
<p class="PropText">MsgBox Len(sText) REM Returns 9</p>
<p class="PropText">End Sub</p>
</body></html>